package com.hsgene.order.condition;

import com.hsgene.common.util.support.LimitHelper;
import org.apache.commons.lang.StringUtils;

/**
 * @Description: 结算列表查询条件
 * @ProjectName: hdas-geneshop
 * @Package: com.hsgene.order.condition
 * @Author: 江承良
 * @CreateDate: 2018/11/13 17:44
 * @Version: 1.0
 * Copyright: Copyright (c) 2018
 */
public class SettlementCondition extends SettlementExportCondition{
    /**
     * 订单编号
     */
    private String orderNo;

    /**
     * 地服姓名
     */
    private String groundServantName;

    /**
     * 患者姓名
     */
    private String patientName;

    /**
     * 机构名称
     */
    private String agencyName;

    /**
     * 下单开始时间
     */
    private String orderStartTime;

    /**
     * 下单结束时间
     */
    private String orderEndTime;

    /**
     * 结算开始日期
     */
    private String settlementStartTime;

    /**
     * 结算结束日期
     */
    private String settlementEndTime;

    /**
     * 结算状态
     */
    private Integer settlementStatus;

    /**
     * 下单日期排序
     */
    private String createTimeSort;

    /**
     * 成本排序
     */
    private String costSort;

    /**
     * 收样日期排序
     */
    private String collectTimeSort;

    /**
     * 结算日期排序
     */
    private String settleTimeSort;

    /**
     * 分页条件
     */
    private LimitHelper limitHelper;

    public String getOrderNo() {
        return orderNo;
    }

    public void setOrderNo(String orderNo) {
        this.orderNo = orderNo;
    }

    public String getGroundServantName() {
        return groundServantName;
    }

    public void setGroundServantName(String groundServantName) {
        this.groundServantName = groundServantName;
    }

    public String getPatientName() {
        return patientName;
    }

    public void setPatientName(String patientName) {
        this.patientName = patientName;
    }

    public String getAgencyName() {
        return agencyName;
    }

    public void setAgencyName(String agencyName) {
        this.agencyName = agencyName;
    }

    public String getOrderStartTime() {
        return orderStartTime;
    }

    public void setOrderStartTime(String orderStartTime) {
        if(StringUtils.isNotEmpty(orderStartTime)){
            orderStartTime = orderStartTime+" 00:00:00";
        }
        this.orderStartTime = orderStartTime;
    }

    public String getOrderEndTime() {
        return orderEndTime;
    }

    public void setOrderEndTime(String orderEndTime) {
        if(StringUtils.isNotEmpty(orderEndTime)){
            orderEndTime = orderEndTime+" 23:59:59";
        }
        this.orderEndTime = orderEndTime;
    }

    public String getSettlementStartTime() {
        return settlementStartTime;
    }

    public void setSettlementStartTime(String settlementStartTime) {
        if(StringUtils.isNotEmpty(settlementStartTime)){
            settlementStartTime = settlementStartTime+" 00:00:00";
        }
        this.settlementStartTime = settlementStartTime;
    }

    public String getSettlementEndTime() {
        return settlementEndTime;
    }

    public void setSettlementEndTime(String settlementEndTime) {
        if(StringUtils.isNotEmpty(settlementEndTime)){
            settlementEndTime = settlementEndTime+" 23:59:59";
        }
        this.settlementEndTime = settlementEndTime;
    }

    public Integer getSettlementStatus() {
        return settlementStatus;
    }

    public void setSettlementStatus(Integer settlementStatus) {
        this.settlementStatus = settlementStatus;
    }

    public String getCreateTimeSort() {
        return createTimeSort;
    }

    public void setCreateTimeSort(String createTimeSort) {
        this.createTimeSort = createTimeSort;
    }

    public String getCostSort() {
        return costSort;
    }

    public void setCostSort(String costSort) {
        this.costSort = costSort;
    }

    public String getCollectTimeSort() {
        return collectTimeSort;
    }

    public void setCollectTimeSort(String collectTimeSort) {
        this.collectTimeSort = collectTimeSort;
    }

    public String getSettleTimeSort() {
        return settleTimeSort;
    }

    public void setSettleTimeSort(String settleTimeSort) {
        this.settleTimeSort = settleTimeSort;
    }

    public LimitHelper getLimitHelper() {
        return limitHelper;
    }

    public void setLimitHelper(LimitHelper limitHelper) {
        this.limitHelper = limitHelper;
    }
}
